package vashion.azeroth.core.yvogue.pojo;

import java.util.Iterator;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.google.common.collect.Lists;

@XmlRootElement(name = "brands")
public class YvogueBrandList {
	@XmlElement(name = "brand")
	private List<YvogueBrand> brandlist;

	public YvogueBrandList() {
		brandlist = Lists.<YvogueBrand>newArrayList();
	}

	public void add(YvogueBrand brand) {
		brandlist.add(brand);
	}

	public Iterator<YvogueBrand> iterator() {
		return brandlist.iterator();
	}
}
